package net.learn.system.convert;

import net.learn.system.entity.SysAnswerEntity;
import net.learn.system.entity.SysPaperEntity;
import net.learn.system.vo.SysAnswerVO;
import net.learn.system.vo.SysPaperVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysPaperConvert {
    SysPaperConvert INSTANCE = Mappers.getMapper(SysPaperConvert.class);

    SysPaperVO convert(SysPaperEntity entity);

    SysPaperEntity convert(SysPaperVO vo);

    List<SysPaperVO> convertList(List<SysPaperEntity> list);

}
